const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');
var UserSchema = new mongoose.Schema({
    name:String,
    password:String,
    mail:String,
    city:String,
    data:{ type:Date},
    gender:String,
    interest:[],
    desc:String
});


UserSchema.plugin(mongoosePaginate);

module.exports=mongoose.model('User',  UserSchema);

